<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>基础数据-报表项目</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link href="../../../css/base/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="../../../css/base/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="../../../css/base/animate.min.css" rel="stylesheet">
    <link href="../../../css/plugins/table/bootstrap-table.css" rel="stylesheet"/>
    <link href="../../../css/plugins/alert/messager.css" rel="stylesheet"/>
    <link href="../../../css/plugins/date/bootstrap-datetimepicker.css" rel="stylesheet">
    <link href="../../../css/plugins/date/daterangepicker-bs3.css" rel="stylesheet">
    <link href="../../../css/plugins/clockpicker/bootstrap-clockpicker.min.css" rel="stylesheet"/>
    <link href="../../../css/plugins/select/bootstrap-multiselect.css" rel="stylesheet"/>
    <link href="../../../css/plugins/fileinput/fileinput.css" rel="stylesheet">
    <link href="../../../css/style-main.css" rel="stylesheet">
    <link href="../../../css/style.css" rel="stylesheet">
    <link href="../../../css/plugins/icheck/orange.css" rel="stylesheet">
    <!--[if lt I]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->

    <style>
        .indexMask{
            width: 100%; height: 100%; position: fixed; left: 0; top: 0; z-index: 9999999; display: none; background: #7c7979;opacity: 0.8;
        }
        .indexMask2{
            position: absolute;top: 50%;left: 50%; margin: -50px 0px 0px -50px;width:100px;height: 100px;z-index: 99999;border-radius: 10px;
        }
    </style>
</head>

<body class="gray-bg" data-js="../../../js/module/base/meta_Budget">
<div id="indexMask" class="indexMask">
    <div class="indexMask2" >
        <img src="../../../img/timg.gif" style="width: 100%; display: block;" alt="加载中......">
    </div>
</div>

<div class="row white-bg dashboard-header">
    <div class="col-sm-12">
    </div>
</div>

<div class="wrapper wrapper-content fadeInRight">
    <div id="main_div" class="row">
        <div class="col-sm-12">
            <div class="ibox-title">
                <h5>列表</h5>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div id="search-toolbar" class="search-toolbar">
                        <div class="form-inline" role="form">

                            <div class="form-group">
                                <input type="text" class="form-control" id="s_CompanyCode" placeholder="请输入公司编号"/>
                            </div>

                            <div class="form-group">
                                <input type="text" class="form-control" id="s_CompanyName" placeholder="请输入公司名称"/>
                            </div>

                            <div class="form-group">
                                <button type="button" class="btn btn-search" id="btn_search"><i class="fa fa-search"></i> 搜索</button>
                                <button type="button" class="btn btn-add" id="btn_add"><i class="fa fa-plus"></i> 增加</button>
                            </div>
                        </div>
                    </div>
                    <table id="myTable" data-click-to-select="true" data-show-add="true" data-show-refresh="true" data-show-toggle="true" data-show-columns="true">

                    </table>
                </div>
            </div>
        </div>
    </div>

    <!-- 编辑信息 -->
    <div id="edit_div" class="row" style="display: none;">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>编辑</h5>
                    <div class="ibox-tools">
                        <a class="back_list" href="javascript:void(0)">
                            <i class="fa fa-reply"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="fm" method="post" class="form-horizontal" role="form">
                        <input type="hidden" id="_id"/>

                        <div class="modal-body">

                            <div class="form-group">
                                <label class="col-sm-2 control-label">管理口径组织架构</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="OrgId" name="OrgId" readonly="readonly" placeholder="请选择管理口径组织架构"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">法人公司</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="CompanyId" name="CompanyId" readonly="readonly" placeholder="请选择法人公司"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">预算组织</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="CostCenterId" name="CostCenterId" readonly="readonly" placeholder="请选择预算组织"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">关联公司</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="InternalCompanyId3" name="InternalCompanyId3" readonly="readonly" placeholder="请选择关联公司"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">会计期间-年</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="PeriodYear" name="PeriodYear" placeholder="请输入跨级期间年"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">版本号</label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" id="VerionNumber" name="VerionNumber" placeholder="请输入版本号"/>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">状态</label>
                                <div class="col-sm-3">
                                    <div class="radio i-checks">
                                        <label><input type="radio" value="0" name="Actived"><i></i> 不启用</label>
                                        &nbsp;
                                        <label><input type="radio" value="1" name="Actived" checked><i></i> 启用</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <div class="col-sm-4 col-sm-offset-2">
                                <div id="btn-add-div" style="display: none">
                                    <button type="submit" class="btn btn-main">添加</button>
                                    <button class="btn btn-white back_list" type="reset">取消并返回</button>
                                </div>
                                <div id="btn-edit-div" style="display: none">
                                    <button type="submit" class="btn btn-main">修改</button>
                                    <button class="btn btn-white back_list" type="reset">取消并返回</button>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <!-- 导入excel -->
    <div id="import_product_div" class="row" style="display: none;">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>导入明细</h5>
                    <div class="ibox-tools">
                        <a href="javascript:void(0)" class="back_list_2">
                            <i class="fa fa-reply"></i> 返回
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="fm_product_import" method="post" class="form-horizontal m-t" role="form">
                        <input type="hidden" id="product_import_id" name="product_import_id" />
                        <div class="modal-body">
                            <div class="form-group">
                                    <label class="col-sm-2 control-label">下载模板</label>
                                    <div class="col-sm-6">
                                        <p class="form-control-static"><a href="http://172.16.1.178:8080/web/file/product-20250603.xlsx" target="_blank">下载</a></p>
                                    </div>
<!--                                <label class="col-sm-2 control-label">请选择操作</label>-->
<!--                                <div class="col-sm-3">-->
<!--                                    <div class="radio i-checks">-->
<!--                                        <label><input type="radio" value="1" name="free_trial"><i></i> 新增</label>-->
<!--                                        &nbsp;-->
<!--                                        <label><input type="radio" value="0" name="free_trial" checked><i></i> 更新</label>-->
<!--                                    </div>-->
<!--                                </div>-->
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="param-required">*</span>execl文件</label>
                                <div class="col-sm-6">
                                    <input type="file" id="import_product_file" name="file" class="file-loading"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"></label>
                                <div class="col-sm-6">
                                    <p class="form-control-static alert alert-warning" id="import_product_tip"></p>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- 导入excel -->
    <div id="import_gl_div" class="row" style="display: none;">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>导入明细</h5>
                    <div class="ibox-tools">
                        <a href="javascript:void(0)" class="back_list_3">
                            <i class="fa fa-reply"></i> 返回
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="fm_gl_import" method="post" class="form-horizontal m-t" role="form">
                        <input type="hidden" id="gl_import_id" name="gl_import_id">
                        <div class="modal-body">
                            <div class="form-group">
                                    <label class="col-sm-2 control-label">下载模板</label>
                                    <div class="col-sm-6">
                                        <p class="form-control-static"><a href="http://172.16.1.178:8080/web/file/gl-20250603.xlsx" target="_blank">下载</a></p>
                                    </div>
<!--                                <label class="col-sm-2 control-label">请选择操作</label>-->
<!--                                <div class="col-sm-3">-->
<!--                                    <div class="radio i-checks">-->
<!--                                        <label><input type="radio" value="1" name="free_trial"><i></i> 新增</label>-->
<!--                                        &nbsp;-->
<!--                                        <label><input type="radio" value="0" name="free_trial" checked><i></i> 更新</label>-->
<!--                                    </div>-->
<!--                                </div>-->
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="param-required">*</span>execl文件</label>
                                <div class="col-sm-6">
                                    <input type="file" id="import_gl_file" name="file" class="file-loading"/>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"></label>
                                <div class="col-sm-6">
                                    <p class="form-control-static alert alert-warning" id="import_gl_tip"></p>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <!-- 项目与科目相关 -->
    <div id="budgetProduct_div" class="row" style="display: none">
        <div class="col-sm-12">
            <div class="ibox-title">
                <!--                <h5>列表</h5>-->
                <div class="ibox-tools">
                    <a class="back_list" href="javascript:void(0)">
                        <i class="fa fa-reply"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div id="search-toolbar-accountview" class="search-toolbar">
                        <div class="form-inline" role="form">
                            <div class="form-group">
                                <button type="button" class="btn btn-add" id="btn_add_budgetProduct" ><i class="fa fa-plus"></i> 增加（产品类）</button>
                                <button type="button" class="btn btn-default" id="btn_import_product"><i class="glyphicon glyphicon-arrow-up"></i> 导入Excel</button>
                            </div>
                        </div>
                    </div>
                    <table id="myTable1" data-click-to-select="true" data-show-add="true" data-show-refresh="true" data-show-toggle="true" data-show-columns="true">

                    </table>
                </div>
            </div>
        </div>
    </div>
    <!-- 项目公式相关 -->
    <div id="budgetGL_div" class="row" style="display: none">
        <div class="col-sm-12">
            <div class="ibox-title">
                <!--                <h5>列表</h5>-->
                <div class="ibox-tools">
                    <a class="back_list" href="javascript:void(0)">
                        <i class="fa fa-reply"></i>
                    </a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
                    <div id="search-toolbar-formula" class="search-toolbar">
                        <div class="form-inline" role="form">
                            <div class="form-group">
                                <button type="button" class="btn btn-add" id="btn_add_budgetGL"><i class="fa fa-plus"></i> 增加（总账类）</button>
                                <button type="button" class="btn btn-default" id="btn_import_gl"><i class="glyphicon glyphicon-arrow-up"></i> 导入Excel</button>
                            </div>
                        </div>
                    </div>
                    <table id="myTable2" data-click-to-select="true" data-show-add="true" data-show-refresh="true" data-show-toggle="true" data-show-columns="true">

                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">编辑</h4>
            </div>
            <form id="fm_budgetProduct" method="post" class="form-horizontal" role="form">
                <input type="hidden" id="BudgetId" name="BudgetId"/>

                <div class="modal-body">
<!--                    <div class="form-group">-->
<!--                        <label class="col-sm-3 control-label">关联公司</label>-->

<!--                        <div class="col-sm-8">-->
<!--                            <input type="text" class="form-control" id="InternalCompanyId" name="InternalCompanyId" readonly placeholder="请选择关联公司"/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="hr-line-dashed"></div>

<!--                    <div class="form-group">-->
<!--                        <label class="col-sm-3 control-label">会计期间-年</label>-->

<!--                        <div class="col-sm-8">-->
<!--                            <input type="text" class="form-control" id="PeriodYear1" name="PeriodYear1" placeholder="请输入会计期间-年"/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">会计期间-月</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="PeriodMonth1" name="PeriodMonth1" placeholder="请选择会计期间-月"/>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">产品</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="MaterialId" name="MaterialId" readonly placeholder="请选择产品"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">产品编码</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="MaterialCode" name="MaterialCode" readonly placeholder="请选择产品"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">产品名称</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="MaterialName" name="MaterialName" readonly placeholder="请选择产品"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-sm-3 control-label">预算数量（自然箱）</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="PackQuantity" name="PackQuantity" readonly placeholder="请选择产品"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">预算数量（标准箱）</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="StdPackQuantity" name="StdPackQuantity" readonly placeholder="请选择产品"/>
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">预算金额</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="RevenueAmount" name="RevenueAmount" placeholder="请输入预算金额"/>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">预算成本</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="CostAmount" name="CostAmount" placeholder="请输入预算成本"/>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="submit" class="btn btn-main">保存</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">编辑</h4>
            </div>
            <form id="fm_budgetGL" method="post" class="form-horizontal" role="form">
                <input type="hidden" id="BudgetId2" name="BudgetId2"/>

                <div class="modal-body">
<!--                    <div class="form-group">-->
<!--                        <label class="col-sm-3 control-label">关联公司</label>-->

<!--                        <div class="col-sm-8">-->
<!--                            <input type="text" class="form-control" id="InternalCompanyId2" name="InternalCompanyId2" readonly placeholder="请选择关联公司"/>-->
<!--                        </div>-->
<!--                    </div>-->
                    <div class="form-group">
                        <label class="col-sm-3 control-label">科目（法人公司）</label>

                        <div class="col-sm-8">
                            <input type="text" class="form-control" id="AccountViewCode" name="AccountViewCode" readonly placeholder="请选择科目（法人公司）"/>
                        </div>
                    </div>

<!--                    <div class="form-group">-->
<!--                        <label class="col-sm-3 control-label">科目（集团）</label>-->

<!--                        <div class="col-sm-8">-->
<!--                            <input type="text" class="form-control" id="GroupAccountViewCode" name="GroupAccountViewCode" readonly placeholder="请选择科目（集团）"/>-->
<!--                        </div>-->
<!--                    </div>-->
                </div>

                <div class="form-group">
                    <label class="col-sm-3 control-label">预算金额</label>

                    <div class="col-sm-8">
                        <input type="text" class="form-control" id="Amount" name="Amount" placeholder="请选择输入预算金额"/>
                    </div>
                </div>

<!--                <div class="form-group">-->
<!--                    <label class="col-sm-3 control-label">会计期间-年</label>-->

<!--                    <div class="col-sm-8">-->
<!--                        <input type="text" class="form-control" id="PeriodYear2" name="PeriodYear2" placeholder="请输入会计期间-年"/>-->
<!--                    </div>-->
<!--                </div>-->
                <div class="form-group">
                    <label class="col-sm-3 control-label">会计期间-月</label>

                    <div class="col-sm-8">
                        <input type="text" class="form-control" id="PeriodMonth2" name="PeriodMonth2" placeholder="请选择会计期间-月"/>
                    </div>
                </div>

                <div class="modal-footer">
                    <button type="submit" class="btn btn-main">保存</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </form>
        </div>
    </div>
</div>

<script src="../../../js/base/require.min.js" defer="" data-main="../../../js/main"></script>

</body>

</html>